package com.antler.smt.admin.mapper;

import com.antler.smt.entity.RefundRecordEntity;
import org.springframework.stereotype.Repository;

@Repository
public interface RefundRecordInfoMapper {

    /**
     *  更新退款记录
     *
     * @param record 实体对象
     * @return 
     */
    int updateByOrderId(RefundRecordEntity record);

    /**
     * 查找退款记录
     *
     * @param orderId
     * @return
     */
    RefundRecordEntity selectRefundByOrderId(Long orderId);
}